﻿<%@ Page Title="" Language="C#" MasterPageFile="~/source/masterpage/Base.Master" AutoEventWireup="true" CodeBehind="Employees.aspx.cs" Inherits="QLK.Web.Employees" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            font-size: large;
        }
        .style3
        {
            width: 352px;
        }
        .style4
        {
            font-size: large;
            font-weight: bold;
        }
    </style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <table cellpadding="3" cellspacing="3" class="style1">
        <tr>
            <td class="style4" colspan="2" style="text-align: center">
                EMPLOYEES</td>
        </tr>
        <tr>
            <td class="style2" colspan="2" style="text-align: center">
                <asp:Label ID="lblWarning" runat="server" ForeColor="#FF3300" 
                    style="font-size: medium"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style3" style="text-align: right">
                LastName:&nbsp;&nbsp;
            </td>
            <td>
                <asp:TextBox ID="txtLastName" runat="server" Height="20px" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtLastName" ErrorMessage="**Can not null! " ValidationGroup="CheckIsNull"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style3" style="text-align: right">
                FirstName:&nbsp;&nbsp;
            </td>
            <td>
                <asp:TextBox ID="txtFirstName" runat="server" Height="20px" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtFirstName" ErrorMessage="**Can not null! " 
                    ValidationGroup="CheckIsNull"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style3" style="text-align: right">
                Gender:&nbsp;&nbsp;
            </td>
            <td>
                <asp:RadioButtonList ID="rdoGender" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem>Male</asp:ListItem>
                    <asp:ListItem>Female</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td class="style3" style="text-align: right">
                IDCard:&nbsp;&nbsp;
            </td>
            <td>
                <asp:TextBox ID="txtIDCard" runat="server" Height="20px" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txtIDCard" ErrorMessage="**Can not null! " 
                    ValidationGroup="CheckIsNull"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style3" style="text-align: right">
                Phone number:&nbsp;&nbsp;
            </td>
            <td>
                <asp:TextBox ID="txtPhone" runat="server" Height="20px" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style3" style="text-align: right">
                <asp:LinkButton ID="btnViewEmp" runat="server" ForeColor="Lime" 
                    onclick="btnViewEmp_Click">View Employees</asp:LinkButton>
            </td>
            <td>
                <asp:Button ID="btnSaveEmp" runat="server" Height="26px" Text="Save Employee" 
                    Width="150px" ValidationGroup="CheckIsNull" />
            </td>
        </tr>
    </table>

</asp:Content>
